examples/drawing: Don't call gtk_main_quit
authorTimm Bäder <mail@baedert.org>
Sat, 24 Sep 2016 07:36:32 +0000 (09:36 +0200)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 3 May 2017 13:53:34 +0000 (14:53 +0100)
This is a GtkApplication so it will do the right thing when closing the
window.

examples/drawing.c

index 338fc251bf6c54b0c1a026b134e6486301fc60d1..b5d1114c98a732c8d6945da0afa5ba12d1c1c4b4 100644 (file)
@@ -125,8 +125,6 @@ close_window (void)
 {
   if (surface)
     cairo_surface_destroy (surface);
-
-  gtk_main_quit ();
 }
 
 static void